package java_generics.generic_types;


public class BoxObjectTest {

	public static void main(String[] args) {
		BoxObject integerBox = new BoxObject(10);
		BoxObject stringBox = new BoxObject("Generics");
		
		Integer i;
		i = (Integer) integerBox.get();
		int a = i.intValue();
		String s = (String) stringBox.get();
		
		System.out.printf("Integer Value : %d\n", a);
	    System.out.printf("String Value : %s\n", s);
	}
}
